﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PersonaLibrary.Data
{
	internal interface ILinqToDbContext
	{
		void SubmitChanges();

		IEnumerable<TResult> Translate<TResult>(System.Data.Common.DbDataReader reader);

		System.Data.Linq.Table<TEntity> GetTable<TEntity>()
			where TEntity : class;
	}
}
